package com.oauth.facebook.client.beans;

import com.google.gwt.user.client.rpc.IsSerializable;

public class FacebookUser implements IsSerializable {

	private String name;
	private Long id;
	private String profileImageUrl;
	private String status;
	private String birthday;

	/**
	 * @return the birthday
	 */
	public String getBirthday() {
		return birthday;
	}

	/**
	 * @param pBirthday
	 *            the birthday to set
	 */
	public void setBirthday(String pBirthday) {
		birthday = pBirthday;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param pStatus
	 *            the status to set
	 */
	public void setStatus(String pStatus) {
		status = pStatus;
	}

	/**
	 * @return the profileImageUrl
	 */
	public String getProfileImageUrl() {
		return profileImageUrl;
	}

	/**
	 * @param pProfileImageUrl
	 *            the profileImageUrl to set
	 */
	public void setProfileImageUrl(String pProfileImageUrl) {
		profileImageUrl = pProfileImageUrl;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param pName
	 *            the name to set
	 */
	public void setName(String pName) {
		name = pName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("LinkedinUser [name=");
		builder.append(name);
		builder.append(", id=");
		builder.append(id);
		builder.append(", profileImageUrl=");
		builder.append(profileImageUrl);
		builder.append(", status=");
		builder.append(status);
		builder.append("]");
		return builder.toString();
	}

}
